<% if @delete_check == true %>
    $('#admin_content').html("<%=j render partial: 'hotel_room_types/index', locals: { :hotel_room_types => @hotel_room_types } %>")
    <% flash[:notice] = ' Hotel Room Type has been sucessfully deleted ' %> 
    $("#flash_message_wrapper").html("<%=j render partial: 'layouts/flash_messages' %>");
    animateFlashMessages();
<% else %>
    <% flash[:alert] = ' Something Wrong! ' %> 
    $("#flash_message_wrapper").html("<%=j render partial: 'layouts/flash_messages' %>");
    animateFlashMessages();
<% end %>
